package config

import (
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	JwtAuth struct {
		AccessSecret string
		AccessExpire int64
	}
	Mysql struct {
		Account  string
		Password string
		Host     string
		Database string
	}
	Redis struct {
		Password string
		Host     string
	}
	//AliCloud struct {
	//	AccessKey string
	//	SecretKey string
	//}
	ElasticSearchConfig struct {
		URL string
	}
	UserRpcConf zrpc.RpcClientConf

	Salt string
}
